/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
	const {
		router,
		controller
	} = app;
	router.get('/', controller.home.index);
	// router.get('/chat', controller.home.chat);
	// router.get('/getdata', controller.home.getdata);
	// router.post('/getdata2', controller.home.getdata2);
	// router.post('/getdata3', controller.home.getdata3);
	// router.get('/aichat', controller.home.aichat);
	// router.post('/face_good', controller.home.face_good);
	// router.get('/aigettext', controller.home.aigettext);
	// router.post('/setgoods', controller.home.setgoods);
	// router.get('/getgoods', controller.home.getgoods);
	router.post('/setpic', controller.home.setpic);
	router.post('/changepic',controller.home.changepic)
};